package com.liuqi.openai.core.chat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * tools[] 入参描述
 *
 * @author liuqi
 * @date 2025/7/18
 **/
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Tool {

    /**
     * 类型: 默认是 function
     */
    private String type;

    /**
     * 函数描述
     */
    private Function function;

}
